<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.transcargo.users.Contact" %>
<%@ page import="com.transcargo.users.User" %>
<%@ page import="com.transcargo.rating.Rating" %>
<%@include file="header.jsf"%>
<%@include file="session.jsf"%>
<%
	String id = request.getParameter("id");
	int Id = 0;
	if (id != null && id.length() > 0) {
		Id = Integer.parseInt(id);
	}
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
  	<head><title>TransCargo</title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <script type="text/javascript" src="ajaxrequest.js"></script>
    <script type="text/javascript" src="forms.js"></script>
	<link type="text/css" href="transcargo.css" rel="stylesheet"/>
	<script type="text/javascript">
	var xslDoc = new Array();
	var xslDocNames = new Array();
	xslDocNames[0] = 'transform/user.xslt';
    xslDocNames[1] = 'transform/usernotfound.xslt';
    if (window.DOMParser == null) {
	  xslDoc[0]=new ActiveXObject("Microsoft.XMLDOM");
	  xslDoc[0].async="false";
      xslDoc[1]=new ActiveXObject("Microsoft.XMLDOM");
      xslDoc[1].async="false";
	}
	</script>
  </head>
<%
	if (Id > 0) {
%>
  <body onload="changeUser()">
<% } else  {
%>
	<body>
<% } %>
    <table cellpadding="0" cellspacing="0" border="0" width="100%">
        <tr><td colspan="2">
			<%@include file="page_header.jsf"%>
        </td></tr>
        <tr valign="top"><td width="80%" align="center"><br><br>
			<form name="userform" action="javascript:changeUser();"><input type="hidden" name="id" value="<%=Id %>">
            <table cellpadding="0" cellspacing="0">
				<tr><td align="right">Компания:</td><td>
					<input name="name" value=""><input type="submit" value="Поиск" onclick="changeUser();return false;">
				</td></tr>
        	</table>
			</form>
            <table cellpadding="0" cellspacing="0" width="80%">
			<tr><td align="left"><div id="MsgArea"></div></td></tr>
		</table>
        </td><td valign="top"><%@include file="login.jsf"%><br><%@include file="quicksearch.jsf"%></td></tr>
    </table>
  </body>
</html>


	            